package com.session01.pm.game;

public class Main {
    public static void main(String[] args) {
        Hero hero = new Hero();
        hero.name = "RJ";
        hero.hp = 100;
        hero.attack = 15;
        hero.defence = 10;

        Monster monster = new Monster();
        monster.name = "狐狸精";
        monster.hp = 100;
        monster.attack = 12;
        monster.defence = 10;

        hero.fight(monster);
        monster.response(hero);
    }
}
